import request from "@/util/axios";

export const uploadFile = (formData) => {
    return request({
        url: "/api/file/upload",
        method: "post",
        data: formData,
        headers: {
            'Content-Type': 'multipart/form-data;charset=UTF-8'
        }
    });
}